// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}
.v-modal {
  z-index: 1986 !important;
}
.el-dialog__wrapper {
  z-index: 1987 !important;
}

::v-deep(.el-table::-webkit-scrollbar) {
  display: block !important;
}
.el-menu {
  height: 100%;
  overflow: auto;
}
.el-upload {
  input[type='file'] {
    display: none !important;
  }
}
.comp-tree .comp-tr-node .comp-tr-node--name {
  display: inline-block !important;
  line-height: none !important;
  min-height: none !important;
  max-width: 140px;
}
.comp-tr-node--name {
  display: inline-block;
  
  line-height: 32px;
  height: 23px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-wrap: nowrap;
  margin-left: 10px;
}

.el-table-horizontal-scrollbar:hover {
  transform: scaleY(2);
  filter: brightness(0.1);
  transform: scaleY(3) translateY(-10%);
  -webkit-transform: scaleY(3) translateY(-10%);
  -moz-transform: scaleY(3) translateY(-10%);
  -ms-transform: scaleY(3) translateY(-10%);
  -o-transform: scaleY(3) translateY(-10%);
}
.el-table__header {
  width: 100% !important;
}
.el-table__body {
  width: 100% !important;
}
.el-menu-item-group {
  padding-left: 30px;
}
.el-progress__text {
  visibility: none;
}
.el-aside {
  width: auto !important;
  height: 95% !important;
  background-color: #4b75cd !important;
}
.el-transfer-panel__item.el-checkbox .el-checkbox__label {
  float: none !important;
}

.el-container {
  display: flex;
  flex-direction: row;
  flex: 1;
  height: 100%;
  flex-basis: auto;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}


.el-upload__input {
  display: none;
}
.el-date-editor.el-input {
  width: 100%;
}

.el-select {
  width: 100%;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}
.el-button {
  height: none !important;
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

.el-scrollbar {
  // padding-bottom: 16px;
}

.avatar-uploader .el-upload {
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.avatar-uploader .el-upload:hover {
  border-color: #409eff;
}
.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  width: 178px;
  height: 178px;
  line-height: 178px;
  text-align: center;
}
.avatar {
  width: 178px;
  height: 178px;
  display: block;
}

.el-table__body-wrapper::-webkit-scrollbar-thumb {
  // position: sticky;
  -webkit-box-shadow: 0 0 6px rgba(145, 143, 0143, 0.3);
  background-color: rgb(145, 143, 143); /*滚动条的背景颜色*/
}

.el-header {
  padding: 0px !important;
}
.el-main {
  padding: 0px !important;
  flex: 1;
}
